{% extends 'course/course_layout.html' %}

{% load custom_tags %}

{% block course_app %}
<div class="container">
    <ol>
        {% for chapter in chapters %}
        <li>
            <div class="row align-items-center">
                <a class="col-md-3 ms-2 fw-bold" href="/course/{{ course.id }}/chapter/{{ chapter.id }}/">
                    {{ chapter.name }}
                </a>
                <small class=" col-md-3">{{ chapter.updated_time }}</small>
            </div>
        </li>
        {% endfor %}
    </ol>
</div>
{% endblock %}